package com.example.factory;

import com.example.factory.ordinary.GDComputerFactory;
import com.example.factory.product.AsusComputer;
import com.example.factory.simple.ComputerFactory1;

public class MainActivity  {
    public static void main (String[] args){
//        ComputerFactory1.createComputer("hp").start();
        new GDComputerFactory().createComputer2(AsusComputer.class).start();
    }
}